<script setup lang="ts">
import { onShow, onLoad } from '@dcloudio/uni-app'
import { checkAppUpdate } from '@/utils/updater'

onShow(() => {
  // checkAppUpdate()
  uni.hideTabBar()
})
onMounted(() => {
  uni.setStorageSync('currentTab', 0)
})
</script>

<style lang="scss">
@import '@/uni_modules/vk-uview-ui/index.scss';

page {
  background-color: #FFFFFF;
}

button::after {
  border: none;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.app-bg {
  background: #F4F8FB;
}

.navbar-bg {
  position: relative;
  width: 100%;
  height: 100%;
  /* 你需要的高度 */
  background-image: url('https://zthd.yuhecloud.com/static/image/iminapp/wx-app/images/workbench/bg.png');
  background-size: cover;
  background-position: center;
}

.navbar-title-bg {
  position: relative;
  width: 100%;
  height: 170px;
  /* 你需要的高度 */
  background-image: url('https://zthd.yuhecloud.com/static/image/iminapp/wx-app/images/workbench/title-bg.png');
  background-size: cover;
  /* 或 contain */
  background-repeat: no-repeat;
  background-position: center;
}

:deep(.uni-swiper-dot) {//修改轮播图的指示点
  width: 24px;
  height: 8px;
  border-radius: 0
}
</style>
